package com.bw.mapper;

import com.bw.bean.Student;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

public interface UserMapper {

    @Select("select * from student")
    public List<Map> findAll();

    @Select("select * from student where id = #{id}")
    public Student findById(Integer id);

}
